package com.qf.advice;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class MyAdvice {

    @Pointcut("execution(* com.qf.service..*.*(..))")
    public void pt(){}


    @Before("pt()")
    public void before(){
        System.out.println("前置通知增强.....");
    }
}
